package com.atguigu.aiproject.dto;
import lombok.Data;

import java.util.List;

@Data
public class ReviewResultDTO {
    private boolean approved;
    private String reason;
    private ReviewType reviewType;
    private String riskLevel;
    private List<String> violationTypes;
    private List<String> suggestions;

    // 添加无参构造函数
    public ReviewResultDTO() {
    }

    public ReviewResultDTO(boolean approved, String reason, ReviewType reviewType) {
        this.approved = approved;
        this.reason = reason;
        this.reviewType = reviewType;
    }

    // 全参构造器
    public ReviewResultDTO(boolean approved, String reason, ReviewType reviewType, String riskLevel, List<String> violationTypes, List<String> suggestions) {
        this.approved = approved;
        this.reason = reason;
        this.reviewType = reviewType;
        this.riskLevel = riskLevel;
        this.violationTypes = violationTypes;
        this.suggestions = suggestions;
    }
    // 将枚举改为public
    public enum ReviewType {
        AI_REVIEW,      // AI审核
        MANUAL_REVIEW,  // 人工审核
        SYSTEM_REVIEW   // 系统审核
    }
}


